package ru.sgu.diploma.practic.service;

import ru.sgu.diploma.practic.domain.model.Automat;
import ru.sgu.diploma.practic.domain.model.AutomatResult;
import ru.sgu.diploma.practic.errors.AlphabetExcephion;
import ru.sgu.diploma.practic.errors.FatalException;
import ru.sgu.diploma.practic.errors.NextLetterException;

import java.util.List;

/**
 * User: datmakin
 * Date: 14.03.11
 * Email: atmakin.dv@gmail.com
 */
public interface AutomatRunner {
    public List<AutomatResult> run(Automat automat) throws FatalException;
    public void setLength(Integer length);

}
